package com.ssmdemo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ssmdemo.entity.TypeCategory;
import com.ssmdemo.mapper.TypeCategoryMapper;
import com.ssmdemo.service.TypeCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TypeCategoryServiceImpl extends ServiceImpl<TypeCategoryMapper,TypeCategory> implements TypeCategoryService {

    @Autowired
    private TypeCategoryMapper typeCategoryMapper;

    @Override
    public List<TypeCategory> queryList() {
        return typeCategoryMapper.queryCategory();
    }
}
